<template>
	<view style="line-height: 100px; text-align:center;">登录成功，跳转中..</view>
</template>

<script>
export default {
	onLoad(options) {
		if (options.token) {
			uni.setStorageSync('token', options.token)
		}
		window.location.href = '/h5/#/' + options.from
	}
};
</script>